<?php
return array(
	'class' => 'CModelEnumer',
	'modelName' => 'WorkerAccount',
	'textField' => 'worker_name',
	'valueField' => 'id',
	'criteria' => array(
		'condition' => 'object_type = :provider OR object_type = :dealer ',
		'params' => array(
			':provider' => 'ProviderAccount',
			':dealer' => 'DealerAccount'
		),
	),
);